<ion-modal-view>
  <ion-header-bar class="index_head">
    <div class="buttons">
      <button class="button button-orange button-clear" style="font-size: 13px;color: #fff" ng-click="edit.hide()">取消</button>
    </div>
    <h1 class="title title-center">{{editTitle}}</h1>
    <div class="buttons">
      <button class="button button-orange button-clear" style="font-size: 13px;color: #fff;" ng-click="edit.done()">保存</button>
    </div>
  </ion-header-bar>
  <ion-content>
    <div class="list mt20">
      <div class="item item-input" style="border-bottom: none;" ng-if="aloneItem">
        <input style="background-color: #fff" ng-model="client.name" ng-if="aloneItem == 'name'" type="text">
        <input style="background-color: #fff" ng-model="client.remark" ng-if="aloneItem == 'remark'" type="text">
        <input style="background-color: #fff" ng-model="client.mobile" ng-if="aloneItem == 'mobile'" type="tel" maxlength="11">
        <input style="background-color: #fff" ng-model="client.email" ng-if="aloneItem == 'email'" type="text">
        <input style="background-color: #fff" ng-model="client.companyName" ng-if="aloneItem == 'companyName'" type="text">
        <input style="background-color: #fff" ng-model="client.profession" ng-if="aloneItem == 'profession'" type="text">
        <!--<input style="background-color: #fff" ng-model="client.starlevel" ng-if="aloneItem == 'starlevel'" type="text">-->
        <span ng-if="aloneItem == 'starlevel'" style="font-size: 32px;">
          <i ng-class="{true:'ion-android-star shopstar', false:'ion-android-star-outline no-shopstar'}[client.starlevel>=1]" ng-click="edit.pingji(1)"></i>
          <i ng-class="{true:'ion-android-star shopstar', false:'ion-android-star-outline no-shopstar'}[client.starlevel>=2]" ng-click="edit.pingji(2)"></i>
          <i ng-class="{true:'ion-android-star shopstar', false:'ion-android-star-outline no-shopstar'}[client.starlevel>=3]" ng-click="edit.pingji(3)"></i>
          <i ng-class="{true:'ion-android-star shopstar', false:'ion-android-star-outline no-shopstar'}[client.starlevel>=4]" ng-click="edit.pingji(4)"></i>
          <i ng-class="{true:'ion-android-star shopstar', false:'ion-android-star-outline no-shopstar'}[client.starlevel==5]" ng-click="edit.pingji(5)"></i>
        </span>
      </div>
    </div>

  </ion-content>
</ion-modal-view>
